package com.openness.example.java;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * @author Rain
 * @version 2013-5-24 上午10:17:55
 */

public class MachineName {

	public static void main(String[] args) throws UnknownHostException {
		System.out.println(InetAddress.getLocalHost().getHostName());
	}

}
